package com.shuwen.cdp.track.entity;

import org.apache.commons.lang3.StringUtils;

/**
 * @author lisw
 * @program jar-data-analysis
 * @description
 * @createDate 2022-05-06 20:02:04
 * @slogan 长风破浪会有时，直挂云帆济沧海。
 **/
public class DataEntity {
    private String distinct_id;
    private BaseLibEntity lib;
    private BaseIdentitiesEntity identities;
    private BasePropertiesEntity properties;
    private String login_id;
    private String event;
    private Long time;
    private String project;
    private String anonymous_id;
    private String type;
    private String original_id;
    private String ip;
    private Long flume_time;
    private String _track_id;

    public String getDistinct_id() {
        return StringUtils.isBlank(distinct_id) ? "''" : "'"+distinct_id+"'";
    }

    public void setDistinct_id(String distinct_id) {
        this.distinct_id = distinct_id;
    }

    public BaseLibEntity getLib() {
        return lib;
    }

    public void setLib(BaseLibEntity lib) {
        this.lib = lib;
    }

    public BaseIdentitiesEntity getIdentities() {
        return identities;
    }

    public void setIdentities(BaseIdentitiesEntity identities) {
        this.identities = identities;
    }

    public BasePropertiesEntity getProperties() {
        return properties;
    }

    public void setProperties(BasePropertiesEntity properties) {
        this.properties = properties;
    }

    public String getLogin_id() {
        return StringUtils.isBlank(login_id) ? "''" : "'"+login_id+"'";
    }

    public void setLogin_id(String login_id) {
        this.login_id = login_id;
    }

    public String getEvent() {
        return StringUtils.isBlank(event) ? "''" : "'"+event+"'";
    }

    public void setEvent(String event) {
        this.event = event;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public String getProject() {
        return StringUtils.isBlank(project) ? "''" : "'"+project+"'";
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getAnonymous_id() {
        return StringUtils.isBlank(anonymous_id) ? "''" : "'"+anonymous_id+"'";
    }

    public void setAnonymous_id(String anonymous_id) {
        this.anonymous_id = anonymous_id;
    }

    public String getType() {
        return StringUtils.isBlank(type) ? "''" : "'"+type+"'";
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOriginal_id() {
        return StringUtils.isBlank(original_id) ? "''" : "'"+original_id+"'";
    }

    public void setOriginal_id(String original_id) {
        this.original_id = original_id;
    }

    public String getIp() {
        return StringUtils.isBlank(ip) ? "''" : "'"+ip+"'";
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Long getFlume_time() {
        return flume_time;
    }

    public void setFlume_time(Long flume_time) {
        this.flume_time = flume_time;
    }

    public String get_track_id() {
        return StringUtils.isBlank(_track_id) ? "''" : "'"+_track_id+"'";
    }

    public void set_track_id(String _track_id) {
        this._track_id = _track_id;
    }
}
